/********************************************************
 Name          : startup.h
 Author        : Khachatur Gyozalyan
 Copyright     : Copyright by Antel Systems
 Description   :
 **********************************************************/
#ifndef STARTUP_H
#define STARTUP_H

// Include Files
#include "clocks.h"
#include "FreeRTOS.h"
#include "task.h"

#include "common_def.h"
#include "at25dfx.h"
#include "usart_fast.h"
#include "CLI.h"

//! SPI master speed in Hz.
#define SPI_MASTER_SPEED    16000000 / 8//(19200000/4) //12000000

//! Number of bits in each SPI transfer.
#define SPI_BITS            8

#define TC_CHANNEL    0


void board_init(void);
void system_init(void);
void rtos_init(void);

#endif
